﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TKWeb.Tool
{
	public partial class FindPage : System.Web.UI.Page
	{
		protected void Page_Load(object sender, EventArgs e)
		{

		}

		protected void btnOK_Click(object sender, EventArgs e)
		{
			object obj = Global.DBAccess.ExecuteScalar("select data from crawl_data_page where hash=@hash", new MySql.Data.MySqlClient.MySqlParameter("hash", tbUrl.Text.GetHashCode()));
			if (obj != null)
			{
				tbResult.Text = obj.ToString();
			}
		}
	}
}